mafetter@fleming.research [Fri, 25 Mar 2005 00:36:35 +0000 (00:36 +0000)]
bitkeeper revision 1.1265 (42435d13hIiIzrasNZHbz13uy4ZTKg)
First attempt at cleanup after merge of shadow code with unstable.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Thu, 24 Mar 2005 22:52:13 +0000 (22:52 +0000)]
bitkeeper revision 1.1264 (
4243449d-JwBVsSinjAWdYveMNhEjQ)
Initial attempt at merging shadow code with head of unstable tree.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Thu, 24 Mar 2005 22:01:38 +0000 (22:01 +0000)]
bitkeeper revision 1.1263 (424338c2uSDCpk6GtK6FjROMlVhhOg)
Merge fleming.research:/scratch/fleming/mafetter/xen.work/save
into fleming.research:/scratch/fleming/mafetter/xen.work
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Thu, 24 Mar 2005 22:01:27 +0000 (22:01 +0000)]
bitkeeper revision 1.1261.1.1 (424338b72O4irc499IhwoNUikHMy5Q)
Minor cleanups, in preparation for merging with mainline.
Removal of some debug hooks.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
cl349@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 21:52:56 +0000 (21:52 +0000)]
bitkeeper revision 1.1236.43.5 (424336b8eyjp_NoiiRAeFT8ELqqtSQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
cl349@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 21:52:41 +0000 (21:52 +0000)]
bitkeeper revision 1.1236.44.1 (424336a973xtRANYgwC5MI9CGj9ddQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
cl349@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 21:51:46 +0000 (21:51 +0000)]
bitkeeper revision 1.1159.272.11 (42433672q27Zpx5yJpmpyepHVywt3Q)
Only include files of the TARGET_ARCH arch in TAGS file.
Signed-off-by: Christian Limpach <chris@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 21:44:30 +0000 (21:44 +0000)]
bitkeeper revision 1.1236.43.4 (424334begQSfXEFH2X7nIwb4TohPsA)
Fix TLB flushing on page type changes for SMP guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Thu, 24 Mar 2005 20:20:12 +0000 (20:20 +0000)]
bitkeeper revision 1.1262 (424320fcePB50JiZWWcQK3UQI1bAhQ)
Remove the changes to linux for running in shadow translate mode.
These changes are still in the bitkeeper tree, and will probably be pulled
forward at some future date.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
jrb44@swoop.cl.cam.ac.uk [Thu, 24 Mar 2005 18:50:40 +0000 (18:50 +0000)]
bitkeeper revision 1.1236.43.3 (42430c00lAWor_gGz6AYWnPE5wc0XQ)
Added concurrency niceness to the bottom end of the blockstore.
Signed-off-by: James Bulpin <James.Bulpin@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 17:27:22 +0000 (17:27 +0000)]
bitkeeper revision 1.1236.43.2 (4242f87aFPws_0qJOowxni3KubXdbQ)
Manual merge.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 17:26:29 +0000 (17:26 +0000)]
bitkeeper revision 1.1159.272.10 (4242f845cpppoqILZOUsc9BDNxlTUA)
Set a block timeout at least a jiffy ahead, to have same behaviour
as native Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 17:22:38 +0000 (17:22 +0000)]
bitkeeper revision 1.1236.43.1 (4242f75e6Zk-5XZxY7UL-J_Qi8D43g)
Fix VIRQ_TIMER holdoff for SMP guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Thu, 24 Mar 2005 16:48:36 +0000 (16:48 +0000)]
bitkeeper revision 1.1261 (4242ef64dXDbGRaZN94_Vg02rxL1tg)
Snapshots of L1 page table pages now only snapshot the active portion of
the page.
Improved the tlb flushing of shadow mode somewhat...
Fixed a bug in the shadow_min_max encoding stuff.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Thu, 24 Mar 2005 12:33:04 +0000 (12:33 +0000)]
bitkeeper revision 1.1260 (4242b380EoY-OHIALnp_JwJHYfsozA)
Keep a list of pre-zero'ed L1 shadow pages.
Avoid the cost of zero'ing them upon allocation.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 11:04:24 +0000 (11:04 +0000)]
bitkeeper revision 1.1236.1.124 (42429eb8uGingMvF7MF3Py6CUzFBzA)
NMI watchdog hooks off ac_timer softirq rather than apic timer irq.
In extreme situations we may service ac_timer events without ever
actually taking an apic interrupt.
Signed-off-by: Keir Fraser <keir@xensource.com>
akw27@arcadians.cl.cam.ac.uk [Thu, 24 Mar 2005 09:13:47 +0000 (09:13 +0000)]
bitkeeper revision 1.1236.1.123 (424284cbdc1iFeJb-iVYG6KJOhmSuw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 24 Mar 2005 08:46:03 +0000 (08:46 +0000)]
bitkeeper revision 1.1236.42.2 (42427e4bowK4ngPjKLA3967ZsswxjQ)
Cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Thu, 24 Mar 2005 03:10:42 +0000 (03:10 +0000)]
bitkeeper revision 1.1236.42.1 (42422fb2SvqEyBwXAZf3p2BJS-gfBA)
If Xen is told to use a serial console via a com1= or com2= directive
on the Xen command line, it now hides that particular UART from dom0.
This means that it's now safe to enable the 8250 driver in the Linux
config. If Xen has been told to use com1, the dom0 linux kernel will
not see /dev/ttyS0, but will see ttyS1,S2 etc if they are present,
enabling them to be used for mice, modems, printers etc.
Unfortunately, the 8250 driver will register itself for a ttyS even if
that particular UART isn't present. This is really annoying, as it
prevents the 'xencons' driver registering itself as ttyS0 even though
the 8250 won't see ttyS0 as present if Xen is using com1. This
prevents us from enabling 8250 in the default kernel config, as it
will change current behaviour.
If you want to use 8250 and xencons, the trick is to tell xencons to
grab a high numbered ttyS port that the 8250 driver will have left
alone. For example, put "xencons=ttyS31" on the Linux command line.
You'll then be able to edit /etc/inittab to add an entry for a
getty on ttyS31 if you want to be able to log in on the serial console
that is being shared with Xen.
If anyone knows a way of cleanly kicking the 8250 driver off a
particular char minor then please let me know!
akw27@arcadians.cl.cam.ac.uk [Wed, 23 Mar 2005 23:16:54 +0000 (23:16 +0000)]
bitkeeper revision 1.1236.1.122 (4241f8e6KVj67ZPqeoetmkxrl9USQw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
akw27@arcadians.cl.cam.ac.uk [Wed, 23 Mar 2005 23:16:17 +0000 (23:16 +0000)]
bitkeeper revision 1.1236.41.1 (4241f8c1RPqucowH4YAH-X69s_MQcw)
add a metadata cache to the radix io calls.
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 18:19:15 +0000 (18:19 +0000)]
bitkeeper revision 1.1236.1.121 (4241b323XMPDUSRi1JDaRbTNG69CgA)
A few ptwr cleanups/fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 18:18:19 +0000 (18:18 +0000)]
bitkeeper revision 1.1236.1.120 (4241b2ebBzxqlRsKYsrNIy3_dpl_oA)
Remove DOM0_IOPL_PERMISSION since it doesn't make much sense.
All admin checks go throu the bitmap mask. Even privileged domains
(inc. domain0) must have a mask.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Wed, 23 Mar 2005 17:07:19 +0000 (17:07 +0000)]
bitkeeper revision 1.1259 (4241a247utqWSkcNHjYx45_xeNZjqg)
Unshadow any L2 that, when updated, has no valid entries left...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Wed, 23 Mar 2005 16:55:23 +0000 (16:55 +0000)]
bitkeeper revision 1.1258 (42419f7b3Pv5vbds6QtH6mlFaDtzEg)
Remember min and max indices for valid entries in shadow L1 tables.
Use these to minimize the revalidation effort.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 16:16:02 +0000 (16:16 +0000)]
bitkeeper revision 1.1236.1.119 (42419642x9bxSKNyV0KCEA1fUnjaDg)
Fix create_bounce_frame() for both x86/32 and x86/64 (each was broken
in a different way).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 13:43:21 +0000 (13:43 +0000)]
bitkeeper revision 1.1236.1.118 (42417279HPSjyqvMU1nR51tWeAILpw)
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 13:35:24 +0000 (13:35 +0000)]
bitkeeper revision 1.1236.1.117 (4241709cmfgF-94U74o-PmIJUmoksQ)
Fix iopl/iobitmap interfaces. Control tools can set per-domain
access limits via DOM0_IOPL_PERMISSION/DOM0_IOPORT_PERMISSION.
Guests can set current permissions per VCPU via physdev ops.
These will always succeed -- checking against admin-set limits is
done at access time.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Wed, 23 Mar 2005 12:53:05 +0000 (12:53 +0000)]
bitkeeper revision 1.1257 (
424166b1-4aA-sSJbmTizuGjdmiSWg)
Don't fully populate the shadow for every L1 we map.
Only populate the demanded entry in the L1, and then from entry 0 up to the
first invalid entry.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Wed, 23 Mar 2005 12:50:40 +0000 (12:50 +0000)]
bitkeeper revision 1.1256 (42416620txO4y-haxDQfKlP_6mTC8Q)
Prevent buddy-allocator merges across Xen/Domain zones boundary.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
Signed-off-by: Michael A Fetterman <michael.fetterman@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 09:08:07 +0000 (09:08 +0000)]
bitkeeper revision 1.1236.1.116 (424131f7rCir_eG6bLO6UbIol4mpgA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 09:07:45 +0000 (09:07 +0000)]
bitkeeper revision 1.1159.272.9 (424131e1AxW6hgsgUY2M3meFO0k4MQ)
libxc reacts to memory allocation delay because memory is on the
scrub list.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 23 Mar 2005 08:59:22 +0000 (08:59 +0000)]
bitkeeper revision 1.1236.1.115 (42412feabO-NbNx001J5keVzgy_QUg)
Avoid unnecessary pte flags changes, which are costly on Xen. Also clean
up XCHG handling in instruction emulator a little bit.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 20:04:01 +0000 (20:04 +0000)]
bitkeeper revision 1.1236.1.114 (42407a31Nf9p7AkNdYSNJUqcXa7-NA)
Fix XCHG instruction emulation.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 19:35:36 +0000 (19:35 +0000)]
bitkeeper revision 1.1236.1.113 (42407388qtYnzMaBpNXqBANV55c6Qw)
Manual merge.
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 19:26:37 +0000 (19:26 +0000)]
bitkeeper revision 1.1159.272.8 (4240716dixo5jLBihZPvbRrP21dn4g)
Schedule page scrubbing for dead domains off the per-cpu periodic
ticker. We take 10% of busy cpus and all of idle cpu time.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Tue, 22 Mar 2005 18:06:42 +0000 (18:06 +0000)]
bitkeeper revision 1.1255 (42405eb2SA4AyDywhzwDXtTQz2eTFg)
Merge fleming.research:/home/irchomes/mafetter/xen-shadow-translate.bk
into fleming.research:/scratch/fleming/mafetter/xen.work
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Tue, 22 Mar 2005 18:02:32 +0000 (18:02 +0000)]
bitkeeper revision 1.1254 (42405db8CeBSiHgkIfnk7WeA9Pvjmw)
HL2's are now filled in on demand, rather than by doing the entire thing
on creation. Also fixed a bug in hl2 ref counting. hl2 entries don't
take a writable ref to the guest pages, as they are xen mappings, not
guest mappings. Also fixed a tlb flushing bug with hl2 entries.
Bug fix for shadow table ref counting. CR3's shadow table could, in theory,
get released while it's still pointing at it. Fixed.
Bug fix for shadow code with tlb flushes from hypervisor calls.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
akw27@arcadians.cl.cam.ac.uk [Tue, 22 Mar 2005 17:30:13 +0000 (17:30 +0000)]
bitkeeper revision 1.1236.1.112 (4240562521wc_bQiFaxW7o5zjRAkFg)
Fix merge conflict from earlier today.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
mafetter@fleming.research [Tue, 22 Mar 2005 17:27:46 +0000 (17:27 +0000)]
bitkeeper revision 1.1252.1.2 (42405592nUI9GTLwtwmNV31h09UMLQ)
Another fix for regular (non-shadow translate) dom0's
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Tue, 22 Mar 2005 16:43:11 +0000 (16:43 +0000)]
bitkeeper revision 1.1252.1.1 (42404b1ftW6eVAZnzGujrdg-lSFXwA)
Fix for regular (non-shadow translate) dom0's
Signed-off-by: michael.fetterman@cl.cam.ac.uk
cl349@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 16:07:38 +0000 (16:07 +0000)]
bitkeeper revision 1.1236.1.111 (424042ca2OF5ZJ7nHGwhQO1NDV_-CQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
jrb44@swoop.cl.cam.ac.uk [Tue, 22 Mar 2005 15:55:29 +0000 (15:55 +0000)]
bitkeeper revision 1.1236.40.1 (42403ff1ZGMKPWPwodeJzyyFrCMVvg)
manual merge phase 1 of 2 :-(
jrb44@swoop.cl.cam.ac.uk [Tue, 22 Mar 2005 15:50:43 +0000 (15:50 +0000)]
bitkeeper revision 1.1236.39.1 (42403ed3ayhqDaCmozMDqaFfcmjpzQ)
Added asynchronous support to the blockstore.
cl349@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 15:18:52 +0000 (15:18 +0000)]
bitkeeper revision 1.1236.1.110 (4240375cOt3uh22RXHHKXqGhr8yvEg)
Restore "PHYSICAL MEMORY ARRANGEMENT" printk.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 11:37:00 +0000 (11:37 +0000)]
bitkeeper revision 1.1236.1.109 (4240035cz_rWFpiJ0nsZoaqmxNolnw)
Manual merge.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 11:35:53 +0000 (11:35 +0000)]
bitkeeper revision 1.1159.272.7 (42400319uaziODdhs_qBb3aaQuxIEg)
Back-port the AGP patch that has been checked into the 2.6-mm tree
by Andrew Morton.
Signed-off-by: Keir Fraser <keir@Xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 09:39:10 +0000 (09:39 +0000)]
bitkeeper revision 1.1236.1.108 (423fe7beyFkqCprMaL7QQL_zfloFtQ)
tiny makefile fix.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 09:38:46 +0000 (09:38 +0000)]
bitkeeper revision 1.1236.1.107 (423fe7a68FOsyuQeKM4k2_0KKlkoEg)
Calling alloc_boot_pages() after end_boot_allocator() can result in
double allocation of the same page.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 09:03:36 +0000 (09:03 +0000)]
bitkeeper revision 1.1236.1.106 (423fdf68Jj2B3iL1Ab8caOSNgsAs-w)
Cross-architecture build fixes.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 22 Mar 2005 09:00:30 +0000 (09:00 +0000)]
bitkeeper revision 1.1236.1.105 (423fdeaeuXmbQUj74cWh1nItpSKUjw)
Improved cross-compilation support.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Mon, 21 Mar 2005 23:42:54 +0000 (23:42 +0000)]
bitkeeper revision 1.1253 (423f5bfeAsGuNeyQOV86d_mRSzPc5A)
Removed duplicate file from bk tree.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
akw27@arcadians.cl.cam.ac.uk [Mon, 21 Mar 2005 21:32:31 +0000 (21:32 +0000)]
bitkeeper revision 1.1236.1.104 (423f3d6fogKK-3Ekb9tjwtdIycRzfw)
little fix to remote read path
Signed-off-by: andrew.warfield.cl.cam.ac.uk
akw27@arcadians.cl.cam.ac.uk [Mon, 21 Mar 2005 20:07:51 +0000 (20:07 +0000)]
bitkeeper revision 1.1236.1.103 (423f2997yh5jfJbfPzgZOswMIKL-RA)
manual merge of James's stuff.
akw27@arcadians.cl.cam.ac.uk [Mon, 21 Mar 2005 19:57:02 +0000 (19:57 +0000)]
bitkeeper revision 1.1236.38.1 (423f270ey18R1fJMKT6mo5gO0HvPiQ)
Incremental fixes to plx stuff.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Mon, 21 Mar 2005 18:05:36 +0000 (18:05 +0000)]
bitkeeper revision 1.1236.1.102 (423f0cf0IKBttbyFsA4dM4ZHz13vAQ)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Mon, 21 Mar 2005 18:04:36 +0000 (18:04 +0000)]
bitkeeper revision 1.1236.1.101 (423f0cb4e4UtnlbkQsaMhXYz4hi__w)
Add CMPXCHG8B support to the instruction emulator.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Mon, 21 Mar 2005 17:36:01 +0000 (17:36 +0000)]
bitkeeper revision 1.1252 (423f0601ZuS2OaJ71fHZxF3wK4zUrQ)
Cleanup after merge
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Mon, 21 Mar 2005 16:41:29 +0000 (16:41 +0000)]
bitkeeper revision 1.1251 (423ef939YAuSbyU77UivO6Ybvl5Yzw)
Merge with Rolf's tree
Signed-off-by: michael.fetterman@cl.cam.ac.uk
vh249@arcadians.cl.cam.ac.uk [Mon, 21 Mar 2005 16:35:25 +0000 (16:35 +0000)]
bitkeeper revision 1.1159.272.6 (423ef7cda7Kpa_XoIQvmnA23rDLP2Q)
remove some bogus test while removing device
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
mafetter@fleming.research [Mon, 21 Mar 2005 13:23:44 +0000 (13:23 +0000)]
bitkeeper revision 1.1236.32.15 (423ecae0WxP6Sqt4p2I9r8lcB4g8_Q)
Added #ifdef CONFIG_XEN_SHADOW_MODE to protect all of Christian's new code.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Mon, 21 Mar 2005 12:01:36 +0000 (12:01 +0000)]
bitkeeper revision 1.1236.32.14 (423eb7a0HqJL37tAErMbIXIQw6Q3Jg)
Added prediction of where to find the last writable PTE for a given page;
greatly speeds up promotion of a page to be used as a page table.
Removed some broken concepts of write protecting PDEs and higher level
entries. To write protect a page, all we need to do is write protect all
L1 entries that point at it.
Fixed a bug with translated IO pages; gotta check that MFNs are really backed
by RAM before we go looking in the frame_table for them...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Mon, 21 Mar 2005 09:52:57 +0000 (09:52 +0000)]
bitkeeper revision 1.1236.1.100 (423e9979L44Puv-F5HidStoKQdiT-g)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Mon, 21 Mar 2005 09:51:58 +0000 (09:51 +0000)]
bitkeeper revision 1.1159.272.5 (423e993erDjsPu07ds6TGA8mhwNOAA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
kaf24@firebug.cl.cam.ac.uk [Mon, 21 Mar 2005 09:51:50 +0000 (09:51 +0000)]
bitkeeper revision 1.1159.273.4 (
423e9936-Gs_rM0rC9UWa8TA2293kA)
Fix floppy driver on Xen -- vmalloc/vfree are unsafe because of the
context that the fd_dma functions may get called from.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@tetris.cl.cam.ac.uk [Mon, 21 Mar 2005 09:00:17 +0000 (09:00 +0000)]
bitkeeper revision 1.1236.1.99 (423e8d21lC6p0xGxw7U1ExVLXpZQag)
Upgrade FreeBSD sparse tree from testing.bk to unstable.bk
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 21 Mar 2005 08:22:32 +0000 (08:22 +0000)]
bitkeeper revision 1.1236.1.98 (423e8448K20cWCqBclQxKDfDoponGQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 21 Mar 2005 08:21:45 +0000 (08:21 +0000)]
bitkeeper revision 1.1159.272.4 (423e841947gMngP1oyDbc6vVjSMbqg)
Make freebsd build scripts executable.
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 21 Mar 2005 08:17:00 +0000 (08:17 +0000)]
bitkeeper revision 1.1236.1.97 (423e82fclMiIt8jCVqmHEQxFlBX83w)
Make scripts under tools/gdb executable.
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Mon, 21 Mar 2005 07:58:08 +0000 (07:58 +0000)]
bitkeeper revision 1.1159.272.3 (423e7e90uxPqdRoA4EvOUikif-yhXA)
Check-in of the sparse tree for FreeBSD 5.3 (version 050317)
This currently supports running as a domU.
- to create freebsd-5.3-xenU run fbsdxensetup from anywhere in the tree
- once created go to freebsd-5.3-xenU on a FreeBSD 5.3 machine, run
xenfbsd_kernel_build - you'll find kernel and kernel.debug under
i386-xen/compile/XENCONF
See http://www.fsmware.com/xenofreebsd/5.3/xenbsdsetup.txt
Thanks to NetApp for their contributions in support of the FreeBSD port to Xen
.
Signed-off-by: Kip Macy <kip.macy@gmail.com
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Sun, 20 Mar 2005 19:31:08 +0000 (19:31 +0000)]
bitkeeper revision 1.1159.272.2 (423dcf7cq_wRMtRWREguqLLbacTtyw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
iap10@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 15:07:47 +0000 (15:07 +0000)]
bitkeeper revision 1.1236.1.96 (423d91c3JzdYyXv2iF0lgox0Q4n2tA)
fix mapping bugs in map_domain_va in xc_ptrace.c
map pages RO
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 15:03:35 +0000 (15:03 +0000)]
bitkeeper revision 1.1236.1.95 (423d90c7SBXNlShGVmT7ksTwZFp-Bw)
LSM INIT INFO block added to xendomains
From: Kurt Garloff
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 14:09:40 +0000 (14:09 +0000)]
bitkeeper revision 1.1236.1.94 (423d8424xa3IjKUn_8z0s4Bbep3LKA)
Trivial nits in the network-nat script..
signed-off by Nivedita Singhvi (niv@us.ibm.com)
iap10@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 14:03:52 +0000 (14:03 +0000)]
bitkeeper revision 1.1236.1.93 (423d82c8btqnwP7LAh0nPWlLBJA1_w)
This patch will cause xcsdump to display more verbose information about the
xcs traffic.
This includes human-readable names of the message type and subtype and
all of the parameters and their values. It's against today's
xen-unstable and has been tested against a number of xen-unstable
snapshots going back a few weeks (one line has to be removed to support
older versions of xen-unstable).
The message types displayed are configurable via a bitmask passed as a
'-v' option in xcsdump.
The code is very useful for figuring out what management tools (Xend,
VM-Tools) are actually doing. I would not have been able to write
vm-tools without it.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 11:53:26 +0000 (11:53 +0000)]
bitkeeper revision 1.1236.1.92 (423d6436JXz0Sqr0XYUvzrcXNtQ6VA)
I added support to Anthony's vm-tools so that it can start VMX enabled
partitions directly (including forking off a copy of the device-model
with the user's environment variables, such as $DISPLAY). For this I found
it useful to harden xc_vmx_build.c so that it doesn't dump core when called
incorrectly.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 09:40:50 +0000 (09:40 +0000)]
bitkeeper revision 1.1236.1.91 (423d4522KOKTF5mJJgjNcM5gwJVm9w)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 09:40:05 +0000 (09:40 +0000)]
bitkeeper revision 1.1159.273.3 (423d44f5mg2mqgtSGUZfZFYsYmHuMA)
Primary floppy controller is at port 0x3f0, not 0x340.
Signed-off-by: Keir Fraser <keir@Xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 20 Mar 2005 08:57:36 +0000 (08:57 +0000)]
bitkeeper revision 1.1236.1.90 (423d3b005sZFJP20BtgjNqqi4QhfzA)
Sparse tree for domain0 gdb server.
Signed-off-by: Kip Macy <kip.macy@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 19 Mar 2005 20:41:04 +0000 (20:41 +0000)]
bitkeeper revision 1.1236.1.89 (423c8e60yT60EPF9qFf1_g26hhY3Jw)
manual merge.
kaf24@firebug.cl.cam.ac.uk [Sat, 19 Mar 2005 20:37:32 +0000 (20:37 +0000)]
bitkeeper revision 1.1236.1.88 (423c8d8cq6U-IPZOZ22Ewk0luopVlw)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 19 Mar 2005 20:36:50 +0000 (20:36 +0000)]
bitkeeper revision 1.1159.273.2 (423c8d62e3tPnc05kdzopOE3xfcNiA)
Allow domain0 to see PCI bridges. It should be able to deal with
seeing PCI buses twice (once as a 'root bridge' from Xen; once by
scanning behind a PCI-PCI bridge itself), and this gets rid of
problems where the bridge needs to be seen by XenLinux for drivers
to work (e.g., Mellanox Infiniband chipsets).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 19 Mar 2005 20:30:54 +0000 (20:30 +0000)]
bitkeeper revision 1.1159.273.1 (423c8bfeCXSFg6Xv58QRFeh4HYLpOQ)
Add MMC and Infiniband devices to XenLinux driver configuration
options.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 19 Mar 2005 19:46:17 +0000 (19:46 +0000)]
bitkeeper revision 1.1236.1.87 (423c8189hXTe3A8DrAyRsqryeVoNxQ)
Add MMC and Infoniband devices to XenLinux driver configuration
options.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 19 Mar 2005 19:36:41 +0000 (19:36 +0000)]
bitkeeper revision 1.1236.1.86 (423c7f494Fy0dmD69mD1SkvSgdLfbg)
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
mafetter@fleming.research [Sat, 19 Mar 2005 15:06:34 +0000 (15:06 +0000)]
bitkeeper revision 1.1236.32.13 (
423c3ffad8-_voFAAISKCGhZl3FYWQ)
Merge fleming.research:/scratch/fleming/mafetter/xen.work/save
into fleming.research:/scratch/fleming/mafetter/xen.work
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Sat, 19 Mar 2005 15:06:20 +0000 (15:06 +0000)]
bitkeeper revision 1.1236.37.1 (423c3fecbSnxxBBsgDz-jRyK2CQYGw)
First in what I'm sure will be a series of speedups for
shadow_remove_all_write_access()...
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Sat, 19 Mar 2005 14:49:05 +0000 (14:49 +0000)]
bitkeeper revision 1.1236.32.12 (423c3be1O7_a1yKODsN2egtVDG1low)
Christian's changes for linux 2.6.10 so that it boots in shadow mode
with translation enabled.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
mafetter@fleming.research [Fri, 18 Mar 2005 17:01:47 +0000 (17:01 +0000)]
bitkeeper revision 1.1236.32.11 (423b097bvEBDPFFtDR44bf9tw_JCqg)
dom0 runs well in shadow translate mode!
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 15:14:45 +0000 (15:14 +0000)]
bitkeeper revision 1.1236.1.85 (423af065m4e0j4eXiTFvV-BrIlfC-A)
Linux 2.6 now always uses writable page tables (even SMP builds). Also
use native definitions for atomic read-modify-write operations on
ptes. Fixed instruction emulator in Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@tetris.cl.cam.ac.uk [Fri, 18 Mar 2005 13:06:04 +0000 (13:06 +0000)]
bitkeeper revision 1.1159.272.1 (423ad23cVUXoD_eqhx9vK868Hg9Xlg)
manualmerge
iap10@tetris.cl.cam.ac.uk [Fri, 18 Mar 2005 13:02:40 +0000 (13:02 +0000)]
bitkeeper revision 1.1159.271.1 (423ad1703X6TrdeKiTr87K5NCQAiGw)
trivial comment fix
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 11:16:56 +0000 (11:16 +0000)]
bitkeeper revision 1.1236.1.84 (423ab8a8Ull_l3xygvrErQi9C35RrQ)
Don't print unwieldy array/histogram perfcounters by default.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 10:47:46 +0000 (10:47 +0000)]
bitkeeper revision 1.1236.1.83 (423ab1d2UEHQRmLr8x23PzrqkkwogQ)
irq.c is modified in unstable repository. Fix Makefile to link to
modified version rather than arch/i386/...
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 09:18:40 +0000 (09:18 +0000)]
bitkeeper revision 1.1236.1.82 (423a9cf0mYyKREXYDEgunBKsdJ0HSg)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 09:18:26 +0000 (09:18 +0000)]
bitkeeper revision 1.1159.258.60 (423a9ce2eJtKIkEGHQPPRXvkPvoHqQ)
Check kmalloc return value in vbd code.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 09:15:33 +0000 (09:15 +0000)]
bitkeeper revision 1.1236.1.81 (423a9c35x9t_HfUlWPlWGs0UrB7kUg)
Fix bind-IPI hypercall arg check.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 09:12:08 +0000 (09:12 +0000)]
bitkeeper revision 1.1236.1.80 (423a9b68OkbcbBNoyEmSO2gPwyeN6g)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Fri, 18 Mar 2005 09:05:06 +0000 (09:05 +0000)]
bitkeeper revision 1.1159.258.59 (423a99c28LSWeyvb5zB2Je7BjDgLww)
Fix install script to follow symlinks.
Signed-off-by: Paul Larson <pl@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
mwilli2@equilibrium.research [Fri, 18 Mar 2005 03:37:54 +0000 (03:37 +0000)]
bitkeeper revision 1.1236.1.79 (423a4d121851oHDLywIdWZDzRRlchA)
Merge ssh://freefall.cl.cam.ac.uk//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/export/scratch/xeno-usbfixes.bk